/*
** xthreads.c for  in /home/costa_k//rendulocal/cunix/philosophe/epi-philosophes/srcs
** 
** Made by kevin costa
** Login   <costa_k@epitech.net>
** 
** Started on  Wed May  4 16:55:50 2011 kevin costa
** Last update Wed May  4 17:49:59 2011 kevin costa
*/

#ifndef __XPTHREADS_H_
# define __XPTHREADS_H_

#include <pthread.h>
#include <sys/types.h>

void	xpthread_mutex_init(pthread_mutex_t *mutex,
			    const pthread_mutexattr_t *attr);
void	xpthread_create(pthread_t *thread, const pthread_attr_t *attr,
			void *(*start_routine) (void *), void *arg);
void	xpthread_join(pthread_t thread, void **retval);

#endif /* __XPTHREADS_H_ */
